
/** 表格表头 */
export const tableColumns = (t: (msg:string)=>string) => ([
  // {
  //   prop: 'id',
  //   type: 'selection',
  //   label: t('table.selection'),
  //   width: 55,
  //   reserveSelection: true,
  //   fixed: 'left'
  // },
  {
    prop: 'store_id',
    label: '门店ID',
    minWidth: 100,
    fixed: 'left'
  },
  {
    prop: 'store_title',
    label: '门店名称',
    minWidth: 140,
    fixed: 'left'
  },
  {
    prop: 'yingqi_count',
    label: '营期人数',
    minWidth: 100
  },
  {
    prop: 'daoke_count',
    label: '到课人数',
    minWidth: 100,
  },
  {
    prop: 'daoke_rate',
    label: '到课率',
    minWidth: 100,
  },
  {
    prop: 'wanbo_count',
    label: '完课人数',
    minWidth: 100,
  },
  {
    prop: 'wanbo_rate',
    label: '完课率',
    minWidth: 100,
  },
  {
    prop: 'hongbao_count',
    label: '领取红包人数',
    minWidth: 120,
  },
  {
    prop: 'hongbao_rate',
    label: '领取红包人数占比',
    minWidth: 140,
  },
  {
    prop: 'hongbao_money',
    label: '领取红包总金额',
    minWidth: 130,
  },
  {
    prop: 'jifen_count',
    label: '领取积分人数',
    minWidth: 120,
  },
  {
    prop: 'jifen_rate',
    label: '领取积分人数占比',
    minWidth: 140,
  },
  // {
  //   prop: 'action',
  //   label:  t('table.operation'),
  //   width: 100,
  //   showOverflowTooltip: false,
  //   fixed: 'right',
  // },
]);

/** 表格搜索表单 */
export const tableSearchFormItems = (t: (msg:string)=>string) => ([]);
